home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1994 February: Tool Chest / Dev.CD Feb 94.toast / Tool Chest / Development Platforms / MCL Related / User Contributions / oodles-of-utils.sea / oodles-of-utils / brutal-utils / GWorld-u.lisp < prev    next >
MacBinary  |  1992-04-22  |  2.6 KB  |  [TEXT/CCL2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Apr 22 15:56:01 1992, modified Wed Apr 22 15:56:01 1992, creator Common Lisp 2, type ASCII, 1989 bytes "GWorld-u.lisp" , at 0x845 442 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[CCL2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 47 57 6f 72 6c 64 | 2d 75 2e 6c 69 73 70 00 |..GWorld|-u.lisp.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 43 43 4c | 32 01 00 00 00 00 00 00 |.TEXTCCL|2.......|
|00000050| 00 00 00 00 00 07 c5 00 | 00 01 ba a6 1b 75 51 a6 |........|.....uQ.|
|00000060| 1b 75 51 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.uQ.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 21 18 00 00 |........|....!...|
|00000080| 28 69 6e 2d 70 61 63 6b | 61 67 65 20 20 3a 6f 6f |(in-pack|age :oo|
|00000090| 75 29 0d 28 6f 6f 75 2d | 70 72 6f 76 69 64 65 20 |u).(oou-|provide |
|000000a0| 3a 47 57 6f 72 6c 64 2d | 75 29 0d 3b 3b 3b 3b 3b |:GWorld-|u).;;;;;|
|000000b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000c0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000000f0| 3b 0d 3b 3b 20 47 57 6f | 72 6c 64 2d 73 76 6d 2e |;.;; GWo|rld-svm.|
|00000100| 6c 69 73 70 0d 3b 3b 0d | 3b 3b 20 43 6f 70 79 72 |lisp.;;.|;; Copyr|
|00000110| 69 67 68 74 20 a9 20 31 | 39 39 32 20 4e 6f 72 74 |ight . 1|992 Nort|
|00000120| 68 77 65 73 74 65 72 6e | 20 55 6e 69 76 65 72 73 |hwestern| Univers|
|00000130| 69 74 79 20 49 6e 73 74 | 69 74 75 74 65 20 66 6f |ity Inst|itute fo|
|00000140| 72 20 74 68 65 20 4c 65 | 61 72 6e 69 6e 67 20 53 |r the Le|arning S|
|00000150| 63 69 65 6e 63 65 73 0d | 3b 3b 20 41 6c 6c 20 52 |ciences.|;; All R|
|00000160| 69 67 68 74 73 20 52 65 | 73 65 72 76 65 64 0d 3b |ights Re|served.;|
|00000170| 3b 0d 3b 3b 20 61 75 74 | 68 6f 72 3a 20 4d 69 63 |;.;; aut|hor: Mic|
|00000180| 68 61 65 6c 20 53 2e 20 | 45 6e 67 62 65 72 0d 3b |hael S. |Engber.;|
|00000190| 3b 20 20 20 20 20 20 20 | 20 20 54 61 6d 61 72 20 |; | Tamar |
|000001a0| 4f 66 66 65 72 0d 3b 3b | 0d 3b 3b 20 75 74 69 6c |Offer.;;|.;; util|
|000001b0| 69 74 69 65 73 20 66 6f | 72 20 77 6f 72 6b 69 6e |ities fo|r workin|
|000001c0| 67 20 77 69 74 68 20 47 | 57 6f 72 6c 64 73 0d 3b |g with G|Worlds.;|
|000001d0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001e0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000001f0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000200| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000210| 3b 3b 3b 3b 3b 0d 0d 28 | 6f 6f 75 2d 64 65 70 65 |;;;;;..(|oou-depe|
|00000220| 6e 64 65 6e 63 69 65 73 | 20 3a 73 69 6d 70 6c 65 |ndencies| :simple|
|00000230| 2d 76 69 65 77 2d 63 65 | 0d 20 20 20 20 20 20 20 |-view-ce|. |
|00000240| 20 20 20 20 20 20 20 20 | 20 20 20 29 0d 0d 28 65 | | )..(e|
|00000250| 78 70 6f 72 74 20 27 28 | 77 69 74 68 2d 66 6f 63 |xport '(|with-foc|
|00000260| 75 73 65 64 2d 47 57 6f | 72 6c 64 20 77 69 74 68 |used-GWo|rld with|
|00000270| 2d 6c 6f 63 6b 65 64 2d | 47 57 6f 72 6c 64 29 29 |-locked-|GWorld))|
|00000280| 0d 0d 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |..;;;;;;|;;;;;;;;|
|00000290| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002a0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002b0| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|000002c0| 3b 3b 3b 3b 3b 3b 3b 3b | 0d 0d 28 65 76 61 6c 2d |;;;;;;;;|..(eval-|
|000002d0| 77 68 65 6e 20 28 3a 63 | 6f 6d 70 69 6c 65 2d 74 |when (:c|ompile-t|
|000002e0| 6f 70 6c 65 76 65 6c 20 | 3a 6c 6f 61 64 2d 74 6f |oplevel |:load-to|
|000002f0| 70 6c 65 76 65 6c 20 3a | 65 78 65 63 75 74 65 29 |plevel :|execute)|
|00000300| 0d 0d 0d 20 20 28 64 65 | 66 6d 61 63 72 6f 20 77 |... (de|fmacro w|
|00000310| 69 74 68 2d 6c 6f 63 6b | 65 64 2d 47 57 6f 72 6c |ith-lock|ed-GWorl|
|00000320| 64 20 28 67 57 6f 72 6c | 64 20 26 62 6f 64 79 20 |d (gWorl|d &body |
|00000330| 62 6f 64 79 29 0d 20 20 | 20 20 28 6c 65 74 20 28 |body). | (let (|
|00000340| 28 70 69 78 4d 61 70 48 | 61 6e 64 6c 65 20 28 67 |(pixMapH|andle (g|
|00000350| 65 6e 73 79 6d 29 29 0d | 20 20 20 20 20 20 20 20 |ensym)).| |
|00000360| 20 20 28 73 74 61 74 65 | 20 20 20 20 20 20 20 20 | (state| |
|00000370| 28 67 65 6e 73 79 6d 29 | 29 29 0d 20 20 20 20 20 |(gensym)|)). |
|00000380| 20 60 28 77 69 74 68 2d | 6d 61 63 70 74 72 73 20 | `(with-|macptrs |
|00000390| 28 28 2c 70 69 78 4d 61 | 70 48 61 6e 64 6c 65 20 |((,pixMa|pHandle |
|000003a0| 28 72 65 71 75 69 72 65 | 2d 74 72 61 70 20 23 5f |(require|-trap #_|
|000003b0| 47 65 74 47 57 6f 72 6c | 64 50 69 78 4d 61 70 20 |GetGWorl|dPixMap |
|000003c0| 2c 67 57 6f 72 6c 64 29 | 29 29 0d 20 20 20 20 20 |,gWorld)|)). |
|000003d0| 20 20 20 20 28 6c 65 74 | 20 28 28 2c 73 74 61 74 | (let| ((,stat|
|000003e0| 65 20 28 72 65 71 75 69 | 72 65 2d 74 72 61 70 20 |e (requi|re-trap |
|000003f0| 23 5f 47 65 74 50 69 78 | 65 6c 73 53 74 61 74 65 |#_GetPix|elsState|
|00000400| 20 2c 70 69 78 4d 61 70 | 48 61 6e 64 6c 65 29 29 | ,pixMap|Handle))|
|00000410| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 28 75 6e |). | (un|
|00000420| 77 69 6e 64 2d 70 72 6f | 74 65 63 74 0d 20 20 20 |wind-pro|tect. |
|00000430| 20 20 20 20 20 20 20 20 | 20 20 28 69 66 20 28 72 | | (if (r|
|00000440| 65 71 75 69 72 65 2d 74 | 72 61 70 20 23 5f 4c 6f |equire-t|rap #_Lo|
|00000450| 63 6b 50 69 78 65 6c 73 | 20 2c 70 69 78 4d 61 70 |ckPixels| ,pixMap|
|00000460| 48 61 6e 64 6c 65 29 0d | 20 20 20 20 20 20 20 20 |Handle).| |
|00000470| 20 20 20 20 20 20 20 28 | 70 72 6f 67 6e 20 2c 40 | (|progn ,@|
|00000480| 62 6f 64 79 29 0d 20 20 | 20 20 20 20 20 20 20 20 |body). | |
|00000490| 20 20 20 20 20 28 65 72 | 72 6f 72 20 22 75 6e 61 | (er|ror "una|
|000004a0| 62 6c 65 20 74 6f 20 6c | 6f 63 6b 20 70 69 78 65 |ble to l|ock pixe|
|000004b0| 6c 73 20 2d 20 74 68 65 | 79 27 76 65 20 62 65 65 |ls - the|y've bee|
|000004c0| 6e 20 70 75 72 67 65 64 | 21 22 29 29 0d 20 20 20 |n purged|!")). |
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 28 72 65 71 75 69 | | (requi|
|000004e0| 72 65 2d 74 72 61 70 20 | 23 5f 53 65 74 50 69 78 |re-trap |#_SetPix|
|000004f0| 65 6c 73 53 74 61 74 65 | 20 2c 70 69 78 4d 61 70 |elsState| ,pixMap|
|00000500| 48 61 6e 64 6c 65 20 2c | 73 74 61 74 65 29 29 29 |Handle ,|state)))|
|00000510| 29 29 29 0d 0d 23 7c 0d | 20 20 28 64 65 66 6d 61 |)))..#|.| (defma|
|00000520| 63 72 6f 20 77 69 74 68 | 2d 66 6f 63 75 73 65 64 |cro with|-focused|
|00000530| 2d 47 57 6f 72 6c 64 20 | 28 28 67 57 6f 72 6c 64 |-GWorld |((gWorld|
|00000540| 20 26 6f 70 74 69 6f 6e | 61 6c 20 67 44 65 76 69 | &option|al gDevi|
|00000550| 63 65 20 27 28 25 6e 75 | 6c 6c 2d 70 74 72 29 29 |ce '(%nu|ll-ptr))|
|00000560| 20 26 62 6f 64 79 20 62 | 6f 64 79 29 0d 20 20 20 | &body b|ody). |
|00000570| 20 28 6c 65 74 20 28 28 | 6f 6c 64 2d 70 6f 72 74 | (let ((|old-port|
|00000580| 20 20 20 28 67 65 6e 73 | 79 6d 29 29 0d 20 20 20 | (gens|ym)). |
|00000590| 20 20 20 20 20 20 20 28 | 6f 6c 64 2d 67 64 68 20 | (|old-gdh |
|000005a0| 20 20 20 28 67 65 6e 73 | 79 6d 29 29 0d 20 20 20 | (gens|ym)). |
|000005b0| 20 20 20 20 20 20 20 28 | 6f 6c 64 2d 70 6f 72 74 | (|old-port|
|000005c0| 5f 70 20 28 67 65 6e 73 | 79 6d 29 29 0d 20 20 20 |_p (gens|ym)). |
|000005d0| 20 20 20 20 20 20 20 28 | 6f 6c 64 2d 67 64 68 5f | (|old-gdh_|
|000005e0| 70 20 20 28 67 65 6e 73 | 79 6d 29 29 29 0d 20 20 |p (gens|ym))). |
|000005f0| 20 20 20 20 60 28 72 6c | 65 74 20 28 28 2c 6f 6c | `(rl|et ((,ol|
|00000600| 64 2d 70 6f 72 74 5f 70 | 20 3a 70 6f 69 6e 74 65 |d-port_p| :pointe|
|00000610| 72 29 0d 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |r). | |
|00000620| 20 28 2c 6f 6c 64 2d 67 | 64 68 5f 70 20 20 3a 70 | (,old-g|dh_p :p|
|00000630| 6f 69 6e 74 65 72 29 29 | 0d 20 20 20 20 20 20 20 |ointer))|. |
|00000640| 20 20 28 72 65 71 75 69 | 72 65 2d 74 72 61 70 20 | (requi|re-trap |
|00000650| 23 5f 47 65 74 47 57 6f | 72 6c 64 20 2c 6f 6c 64 |#_GetGWo|rld ,old|
|00000660| 2d 70 6f 72 74 5f 70 20 | 2c 6f 6c 64 2d 67 64 68 |-port_p |,old-gdh|
|00000670| 5f 70 29 0d 20 20 20 20 | 20 20 20 20 20 28 77 69 |_p). | (wi|
|00000680| 74 68 2d 6d 61 63 70 74 | 72 73 20 28 28 2c 6f 6c |th-macpt|rs ((,ol|
|00000690| 64 2d 70 6f 72 74 20 28 | 25 67 65 74 2d 70 74 72 |d-port (|%get-ptr|
|000006a0| 20 2c 6f 6c 64 2d 70 6f | 72 74 5f 70 29 29 0d 20 | ,old-po|rt_p)). |
|000006b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000006c0| 20 20 20 20 20 20 20 28 | 2c 6f 6c 64 2d 67 64 68 | (|,old-gdh|
|000006d0| 20 20 28 25 67 65 74 2d | 70 74 72 20 2c 6f 6c 64 | (%get-|ptr ,old|
|000006e0| 2d 67 64 68 5f 70 29 29 | 29 0d 20 20 20 20 20 20 |-gdh_p))|). |
|000006f0| 20 20 20 20 20 0d 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00000700| 20 28 75 6e 77 69 6e 64 | 2d 70 72 6f 74 65 63 74 | (unwind|-protect|
|00000710| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 20 28 77 |. | (w|
|00000720| 69 74 68 2d 6c 6f 63 6b | 65 64 2d 47 57 6f 72 6c |ith-lock|ed-GWorl|
|00000730| 64 20 2c 67 57 6f 72 6c | 64 0d 20 20 20 20 20 20 |d ,gWorl|d. |
|00000740| 20 20 20 20 20 20 20 20 | 20 28 77 69 74 68 6f 75 | | (withou|
|00000750| 74 2d 69 6e 74 65 72 72 | 75 70 74 73 0d 20 20 20 |t-interr|upts. |
|00000760| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 72 65 | | (re|
|00000770| 71 75 69 72 65 2d 74 72 | 61 70 20 23 5f 53 65 74 |quire-tr|ap #_Set|
|00000780| 47 57 6f 72 6c 64 20 2c | 67 57 6f 72 6c 64 20 2c |GWorld ,|gWorld ,|
|00000790| 67 44 65 76 69 63 65 29 | 0d 20 20 20 20 20 20 20 |gDevice)|. |
|000007a0| 20 20 20 20 20 20 20 20 | 20 2c 40 62 6f 64 79 29 | | ,@body)|
|000007b0| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 |). | (|
|000007c0| 72 65 71 75 69 72 65 2d | 74 72 61 70 20 23 5f 53 |require-|trap #_S|
|000007d0| 65 74 47 57 6f 72 6c 64 | 20 2c 6f 6c 64 2d 70 6f |etGWorld| ,old-po|
|000007e0| 72 74 20 2c 6f 6c 64 2d | 67 64 68 29 29 29 29 29 |rt ,old-|gdh)))))|
|000007f0| 29 0d 0d 7c 23 0d 0d 20 | 20 29 0d 0d 0d 3b 3b 3b |)..|#.. | )...;;;|
|00000800| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000810| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000820| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000830| 3b 3b 3b 3b 3b 3b 3b 3b | 3b 3b 3b 3b 3b 3b 3b 3b |;;;;;;;;|;;;;;;;;|
|00000840| 3b 3b 3b 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |;;;.....|........|
|00000850| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000880| 00 00 01 00 00 00 01 68 | 00 00 00 68 00 00 00 52 |.......h|...h...R|
|00000890| 00 00 11 b0 0f 50 69 6f | 6e 65 65 72 2d 76 70 2e |.....Pio|neer-vp.|
|000008a0| 6c 69 73 70 00 00 00 00 | 00 00 00 00 00 00 00 00 |lisp....|........|
|000008b0| 0d 47 57 6f 72 6c 64 2d | 75 2e 6c 69 73 70 02 00 |.GWorld-|u.lisp..|
|000008c0| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 14 00 00 |..TEXTCC|L2......|
|000008d0| 00 00 54 45 58 54 43 43 | 4c 32 01 00 00 14 00 00 |..TEXTCC|L2......|
|000008e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000008f0| 00 00 a5 c1 96 57 00 00 | 07 c5 00 00 01 ba 00 00 |.....W..|........|
|00000900| 00 00 00 00 00 00 00 00 | 00 00 03 75 25 00 00 00 |........|...u%...|
|00000910| 13 20 0d 76 69 64 65 6f | 2d 77 6d 2e 6c 69 73 70 |. .video|-wm.lisp|
|00000920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000930| 00 00 00 00 01 e9 25 00 | 00 00 13 32 1b 61 70 70 |......%.|...2.app|
|00000940| 6c 65 2d 69 6e 74 65 72 | 66 61 63 65 73 2d 73 63 |le-inter|faces-sc|
|00000950| 72 61 70 2e 6c 69 73 70 | 00 00 00 00 00 00 00 04 |rap.lisp|........|
|00000960| 25 00 00 00 13 32 06 63 | 75 73 74 6f 6d 00 00 00 |%....2.c|ustom...|
|00000970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000980| 00 00 00 0a 00 01 00 16 | 0a 00 01 00 00 00 00 00 |........|........|
|00000990| 00 0a 00 00 07 43 6f 75 | 72 69 65 72 00 00 00 48 |.....Cou|rier...H|
|000009a0| 00 0a 43 6f 75 72 69 65 | 72 00 00 00 00 00 00 00 |..Courie|r.......|
|000009b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000009c0| 00 00 00 06 00 08 00 33 | 00 5f 03 4d 02 5d 00 33 |.......3|._.M.].3|
|000009d0| 00 5f 03 4d 02 5d 00 00 | 00 00 00 00 04 d4 00 00 |._.M.]..|........|
|000009e0| 04 d4 00 00 00 85 01 00 | 00 00 01 00 00 00 01 68 |........|.......h|
|000009f0| 00 00 00 68 00 00 00 52 | 00 e6 48 3c 08 74 00 00 |...h...R|..H<.t..|
|00000a00| 00 1c 00 52 00 01 46 52 | 45 44 00 01 00 12 4d 50 |...R..FR|ED....MP|
|00000a10| 53 52 00 00 00 2a 00 02 | ff ff 00 00 00 00 00 00 |SR...*..|........|
|00000a20| 00 00 00 03 ff ff 00 00 | 00 0e 00 00 00 00 03 ed |........|........|
|00000a30| ff ff 00 00 00 1c 00 e7 | 27 f8 00 00 00 00 00 00 |........|'.......|
|00000a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+